package com.weihua.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author Administrator
 */
@Data
@Accessors(chain = true)
@TableName("b_machine")
public class MachinePo implements BasePo {

    @TableId
    private String machinePk;

    private String name;

    private String code;

    private String memo;

    private Integer slave;

    private String ip;

    private Integer port;

    @Version
    private Integer version;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableLogic
    private Integer deleted;
}
